import csv


with open('../07_19/data_user.csv', newline='') as file1, open('data_buy.csv', newline='') as file2, open('data_test.csv', 'w', newline='', encoding='utf-8') as output:
    reader1 = csv.reader(file1)
    reader2 = csv.reader(file2)
    writer = csv.writer(output)

    for row1, row2 in zip(reader1, reader2):
        row3 = row1[0:2] + row2
        writer.writerow(row3)















